package com.hzvtc.myproject.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.util.List;

@Data
public class Repair {
    private Long id; // 维修记录ID

    @NotNull
    private Long roomId; // 宿舍房间ID

    @NotBlank
    private String describe; // 维修描述

    private List<String> picture; // 维修图片列表

    private Boolean status; // 维修状态

    private LocalDate createDate; // 创建日期

    private LocalDate finishDate; // 完成日期

    private Room room; // 宿舍房间对象
}
